package com.turing.user.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.turing.user.entity.FunctionPrivilege;
import com.turing.user.vo.LoginVO;

import java.util.List;

/**
* @Description $!{table.comment} 服务类接口
* @Author livin
* @Date 2022-02-22
*/
public interface FunctionPrivilegeService extends IService<FunctionPrivilege> {

    boolean checkUserPrivilege(List<Integer> privilegeIds,String url);

    List<FunctionPrivilege> getAllPrivilege();

    List<LoginVO.Menu> buildMenuTree();
}
